Kotlin 1.1

價格:免費

更新日期:2017-11-07

檔案大小:12M

目前版本:1.0.0

版本需求:Android 4.1 以上版本

官方網站:https://www.nextlabs.cc/

Email:nextlabs.cc@gmail.com

聯絡地址:No 905, Jalan Melor 2, Taman Tangkak Jaya, 84900 Tangkak, Johor, Malaysia.

Kotlin 1.1(圖1)-速報App

Kotlin is a statically-typed programming language that runs on the Java virtual machine and also can be compiled to JavaScript source code or use the LLVM compiler infrastructure. Its primary development is from a team of JetBrains programmers based in Saint Petersburg, Russia. While the syntax is not compatible with Java, Kotlin is designed to interoperate with Java code and is reliant on Java code from the existing Java Class Library, such as the collections framework.

As of Android Studio 3.0 (Beta version) Kotlin is a fully supported programming language on Android[4] and lets the user choose between targeting Java 6- or Java 8-compatible bytecode.

Table of content

Kotlin for Server Side

Kotlin for Android

Kotlin for JavaScript

What's New in 1.1

Basic Syntax

Idioms

Coding Conventions

Basic Types

Packages and Imports

Control Flow

Returns and Jumps

Classes and Inheritance

Properties and Fields

Interfaces

Visibility Modifiers

Extensions

Data Classes

Sealed Classes

Kotlin 1.1(圖2)-速報App

Generics

Nested Classes

Enum Classes

Objects

Delegation

Delegated Properties

Functions

Lambdas

Inline Functions

Coroutines

Destructuring Declarations

Collections

Ranges

Type Checks and Casts

This expressions

Equality

Operator overloading

Null Safety

Exceptions

Annotations

Reflection

Kotlin 1.1(圖3)-速報App

Type-Safe Builders

Type Aliases

Multiplatform Projects (preview)

Standard Library

kotlin.test

Keywords and Operators

Grammar

Compatibility

Calling Java from Kotlin

Calling Kotlin from Java

Dynamic Type

Calling JavaScript from Kotlin

Calling Kotlin from JavaScript

JavaScript Modules

JavaScript Reflection

JavaScript DCE

Documenting Kotlin Code

Using Kapt

Using Gradle

Using Maven

Using Ant

Kotlin 1.1(圖4)-速報App

Kotlin and OSGi

Compiler plugins

FAQ

Comparison to Java

Getting Started with IntelliJ IDEA

Getting Started with Eclipse

Working with the Command Line Compiler

Working with Build Tools

Koans

Getting Started With Android Development

Kotlin Android Extensions

Android Frameworks

Mixing Java and Kotlin in one project

Kotlin to JavaScript

Getting Started with Gradle

Getting Started with IntelliJ IDEA

Getting Started with Maven

Creating a Kotlin JavaScript library with the Command Line Compiler

Working with Kotlin and JavaScript Modules

Working with JavaScript

Debugging Kotlin in browser

Kotlin 1.1(圖5)-速報App

Introduction to Kotlin Coroutines on the JVM

Creating Web Applications with Http Servlets

Creating a RESTful Web Service with Spring Boot

Setting up Kotlin on TeamCity

Kotlin 1.1(圖6)-速報App